package Structural.Proxy.dynamicProxy;

class HasStatic {
    static int j = 100;
}
public class Outer {
    class Inner extends HasStatic {
        static final int x = 3;  // OK: constant variable
//        static int y = 4;  // Compile-time error: an inner class
    }
    public static class NestedButNotInner{
        static int z = 5;    // OK: not an inner class

        public void hello(){
            System.out.println("success");
        }
    }
    interface NeverInner {}  // Interfaces are never inner
}


